/*
 *
 *  * Copyright (c) 2016. For Intelligent Group.
 *
 */

package com.intelligent.ispc.client.event;

/**
 * Created by Peter on 2016/7/26.
 */
public class StatusBarMsgChangeEvent {
    public static final String INFO = "INFO";
    public static final String ERROR = "ERROR";

    private String message;
    private String level = INFO;

    /**
     * Constructor.
     */
    public StatusBarMsgChangeEvent() {
    }

    /**
     * Constructor.
     *
     * @param message String
     */
    public StatusBarMsgChangeEvent(String message) {
        this.message = message;
    }

    /**
     * Constructor.
     *
     * @param message String
     * @param level   String
     */
    public StatusBarMsgChangeEvent(String message, String level) {
        this.message = message;
        this.level = level;
    }

    public String getMessage() {
        return message;
    }

    public String getLevel() {
        return level;
    }
}
